package io_demo.teshu_io_demo;

/**
 * @author ChenYongHao
 * @date 2023/4/28 10:47
 * @desc 字节打印流
 */
import java.io.IOException;
import java.io.PrintStream;

public class Byte_println_Demo {
    public static void main(String[] args) throws IOException {
        PrintStream ps = new PrintStream("E:\\cyhKyGit\\Java_Study\\Java_File_IO\\src\\main\\java\\io_demo\\demo.txt");
        ps.println(97);
        ps.write(97);

        ps.close();
    }
}
